package com.fortune.dto.in.cOrderLogin;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

public class COrderVeriAddressDto {
    @NotBlank(message="店铺地址不能为空")
    @ApiModelProperty(example = "店铺地址")
    private String address;
    @ApiModelProperty(example = "经度")
    private float longitude;
    @ApiModelProperty(example = "纬度")
    private float latitude;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        return "COrderVeriAddressDto{" +
                "address='" + address + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                '}';
    }
}
